#include "GbrHttpBase.h"
#include "stdafx.h"

CGbrHttpBase::CGbrHttpBase(void) { }

CGbrHttpBase::CGbrHttpBase(const char *fullyQualifiedUrl)
{
}

CGbrHttpBase::~CGbrHttpBase(void)
{
}

void *CGbrHttpBase::AllocMem(const size_t sz)
{
	return HeapAlloc(GetProcessHeap(), 0, sz) ;
}
void *CGbrHttpBase::ReallocMem(void * ptr, const size_t sz)
{
	return HeapReAlloc(GetProcessHeap(), 0, ptr, sz) ;
}
void CGbrHttpBase::FreeMem(void * ptr)
{
	HeapFree(GetProcessHeap(), 0, ptr) ;
}
void *CGbrHttpBase::CopyMem(void *Destination,void *Source,const size_t Length)
{
	return memcpy(Destination,Source,Length);
}
void *CGbrHttpBase::FillMem(void *Destination,const size_t Length,const unsigned char Fill)
{
	return memset(Destination,Fill,Length);
}
void *CGbrHttpBase::ZeroMem(void *Destination,const size_t Length)
{
	return FillMem(Destination,Length,0);
}
void CGbrHttpBase::LogText(LPCSTR s1)
{
	printf(s1);
}
void CGbrHttpBase::LogText(LPCSTR s1, LPCSTR s2)
{
	printf(s1,s2);
}
void CGbrHttpBase::LogText(LPCSTR s1, DWORD dw1)
{
	printf(s1,dw1);
}
void CGbrHttpBase::LogText(LPCSTR s1, PCWSTR ws1)
{
	printf(s1,ws1);
}
